/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entity.Alokasi;
import entity.Karyawan;
import entity.Pekerjaan;
import java.util.List;

/**
 *
 * @author Darkman
 */
public interface AlokasiDAO {

    public Alokasi get(Long id) throws Exception;

    public List<Alokasi> gets() throws Exception;

    public List<Alokasi> getsByPekerjaan(Pekerjaan p) throws Exception;
    
    public List<Alokasi> getsByKaryawan(Karyawan k) throws Exception;

    public List<Karyawan> getsAvalibleKaryawan(Pekerjaan p) throws Exception;
}
